package cn.humaohua.study.yanmo_design_pattern.ch13.v1;

public class ResetCommand implements Command {
    private MainBoardApi mainBoard;

    public ResetCommand(MainBoardApi mainBoard) {
        this.mainBoard = mainBoard;
    }

    @Override
    public void execute() {
        mainBoard.reset();

    }

}
